package com.qf.crud.service;

import com.qf.crud.entity.Student;
import com.qf.crud.entity.vo.StudentVO;

import java.util.HashMap;
import java.util.List;

public interface StudentService {
    Student findById(Integer id);

    List<Student> findAll();

    List<Student> findByKeyword(HashMap<String, Object> map);

    void add(Student student);

    void edit(Student student);

    void deleteById(int id);

    int batchDelete(List<Integer> ids);

    List<StudentVO> findAllStudentAndClassroom();

    StudentVO findStudentAndAllSubjectByStuid(int sid);
}
